package com.ssy.lingxi.after.sale.model.vo.request;

import com.ssy.lingxi.common.model.vo.PageVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 操作日志
 * @author yzc
 * @version 2.0.0
 * @date 2021/6/28
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OperateLogRequest extends PageVO implements Serializable {

    private static final long serialVersionUID = 271855583530898221L;
    /**
     * 售后类型 1-换货 2-退货 3-维修
     */
    @NotNull(message = "售后类型不能为空")
    @Max(value = 3,message = "售后类型错误")
    @Min(value = 1,message = "售后类型错误")
    private Integer afterSaleType;

    /**
     * 申请单号
     */
    private String applyNo;

    /**
     * 开始时间
     */
    private Long startTime;

    /**
     * 结束时间
     */
    private Long endTime;
}
